 
<div class="form-panel">
                        <h4 class="mb"><i class="fa fa-tags"></i> Semua Pesanan</h4>
                          <table class="table table-striped table-advance table-hover">
                              <thead>

				 				<tr>
					                <th>No Pesanan</th>
					                <th>Nama pemesan </th>
					                <th>Alamat</th>
					                <th>Telp</th>
					                <th>E-mail</th>
					                <th>Kota</th>
					                <th>Nama Produk</th>
								</tr>   

                              </thead>
                              <tbody>
                              <?php foreach ($getpesanan as $gp):?>
                              <tr>
                                  <td><?php echo $gp->id_pesan;?></td>
                                  <td><?php echo $gp->nama_pemesan;?></td>
                                  <td><?php echo $gp->alamat;?></td>
                                  <td><?php echo $gp->telp;?></td>
                                  <td><?php echo $gp->email;?></td>
                                  <td><?php echo $gp->id_kota;?></td>
                                  <td><img src="<?php echo base_url('assets/img/'.$gp->nama_produk);?>" height="100px" width="100px"></td>
                                  <td class="center">
                                      <a href="<?= base_url()?>index.php/admin_panel/deletepesanDb/<?=$gp->id_pesan?>" class="btn btn-danger btn-xs" onclick="return confirm('Hapus data?')"><span class="fa fa-trash-o"> Delete</a>
                                 </td>
                              </tr>
                              <?php endforeach?>
                              </tbody>
                          </table>
                      </div><!-- /content-panel -->